package com.groupbuying.provider.dto.convert;

import com.groupbuying.provider.domain.StoreMainInfoDO;
import com.groupbuying.provider.dto.StoreMainDTO;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.factory.Mappers;

@Mapper
public interface StoreMainInfoConvert {
    StoreMainInfoConvert MAPPER = Mappers.getMapper(StoreMainInfoConvert.class);

    @Mapping(target = "companytype",  ignore = true)
    StoreMainDTO doToDTO(StoreMainInfoDO storeMainInfo);
}
